﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace kongjian36
{
    [Designer(typeof(TongJi_EMS._TJ_Basic.TJ_BasicControlDesigner))]
    public partial class rongduanqi10kv : TongJi_EMS._TJ_Basic.TJ_BasicControl
    {
        public rongduanqi10kv()
        {
            InitializeComponent();
        }
        private void rongduanqi10kv_Paint(object sender, PaintEventArgs e)
        {

            Pen a = new Pen(CtrColor, 1);
            e.Graphics.DrawRectangle(a, x * 0.7f, y * 0.5f, x * 0.6f, y * 1f);
            e.Graphics.DrawLine(a, x, 0, x, y * 2f);
        }

        private void rongduanqi10kv_Resize(object sender, EventArgs e)
        {
            this.x = this.Width / 2;
            this.y = this.Height / 2;
            //this.Refresh();

        }

        private void rongduanqi10kv_Load(object sender, EventArgs e)
        {
            rongduanqi10kv_Resize(sender, e);
        }


    }
}